home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
misc
/
amind2db.lha
/
AMInd2DB.doc
< prev
Wrap
Text File
|
1995-07-27
|
7KB
|
210 lines
--- AMInd2DB.doc ---
"AMInd2DB" is a short form for 'AmiNet Index to DataBase'.
This program converts the Aminet Index files (usually :AMINET/INDEX or
:AMINET/INFO/INDEX/LOCAL for the wide version of the file on your AmiNet
CD) to a file readable for the Import function of a database program like
SuperBase or MaxonTwist.
To use it, simply call
AMInd2DB <Index-File >Output-File [Ident]
where the input and output streams are redirected (YES, these angle
brackets have to be typed).
'Ident' is optionally and adds a database field to the output if given.
The contents is at your choice, but I intended this function to add a
CD number field to every database record.
This is handy if you plan to catalog your AmiNet CD's into a single huge
database file. (This was the reason why this program is written)
What you will get is an output like this:
"ABook_034.lha","biz/dbase","159K","8","A new address database using MUI (GIFTWA"
"AFile_v401.lha","biz/dbase","123K","7","A datafile manager"
"AmigaBase21.lha","biz/dbase","481K","6","Very powerful programmable database with"
"AmigaBStamp.lha","biz/dbase","20K","4","Stamps exchange project, based on AmigaB"
"AmigaWorld.lha","biz/dbase","596K","7","Database of information of all countries"
or this if you've started this program with an Identifier given:
"CD-6","ABook_034.lha","biz/dbase","159K","8","A new address database using MUI (GIFTWA"
"CD-6","AFile_v401.lha","biz/dbase","123K","7","A datafile manager"
"CD-6","AmigaBase21.lha","biz/dbase","481K","6","Very powerful programmable database with"
"CD-6","AmigaBStamp.lha","biz/dbase","20K","4","Stamps exchange project, based on AmigaB"
"CD-6","AmigaWorld.lha","biz/dbase","596K","7","Database of information of all countries"
Ignoring the identifier, the leftmost field is the program name, following
the directory where to find the program, the size, the age in weeks
(relative to the date of the creation of the original list) and the short
description.
To import the file into the database program, I suggest the following field
definitions:
Ident (as you wish)
Name TXT 19
Directory TXT 10
Size TXT 5
Age INT 4
Description TXT 42 (or TXT 100 if you plan to include the wide version)
"OK" you will think "There is another program doing the same task, where
are the differences?"
Yes, there are differences:
1) Trimmed database fields (no leading and trailing spaces)
Searching a database is easier because no leading or trailing
wildcards are needed to cover extra spaces.
2) Fast! (at about 22 seconds parsing an 1MB index file on an A3000-25)
3) Optionally including the identifier
Handy for the users creating Multi-CD data bases. Without this
option you have to import the file into an (existing) database,
using the update function to apply the CD number to the newly created
records and risking to give a already used number to the records
(mistyped a digit...).....
4) Auto-detecting list field widths
Useful for these guys having AmiNet CD 3 and earlier together
with AmiNet CD 5 and up, because the width of the Name field varies
slightly, making other programs with fixed-width fields screw up.
BUGS
Huh? It works fine on my system. But PLEASE report me any bugs/quirks.
CAVEATS
This program is designed to parse AmiNet Index files or similar.
It is fixed to detect four contents fields with the length set by the
header.
Unpredictable action may be taken if the program tries to parse an
incorrect file.
DISCLAIMER
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDER AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE
COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS
OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
To be short: It works on my machine. Don't know about yours.
LEGAL ISSUES
- This program is Cardware, that means, you can spread and use it as
you wish if not otherwise stated in the following terms:
- If you use it regularly, drop me a postcard or an EMail. I just
want to know how much it is used...
- The archive containing this program may be redistributed
via BBSes, on disks or other ways you can imagine (I want you to do
it!), but for REASONABLE media costs. ($5 for a disk are too much)
- Inclusion in commercial programs requires the expressed written
consent by the author.
- Spreading through PD series is allowed only if the price of the sold
media (mostly disks) doesn't exceed REASONABLE costs and/or the vendor
doesn't get any real income by selling it.
- In this distribution no file has to be changed, omitted and/or added.
! This includes the BBS ads most BBSes add to the archives passing
! through. The SysOp is responsible for deleting these files
! being automatically added.
But I want to be fair and I'm allowing one (1) BBS advertising
in this archive because really good BBS software has to be able to
delete alien BBS ads before adding the own.
If this happen to me to find an archive with more than one BBS
ad, the SysOps of the systems having added the second, third... ad
will be held liable for that.
THESE ARE NO EMPTY WORDS!
- Executables must not be disassembled, resourced or re-enineered in
any other way imaginable. Furthermore, these must mot be patched,
either on the storage media, before starting or while running.
HOW TO CONTACT ME
Comments, bug reports hello's, flames (huh?) to:
sneaker@surprise.rhein-ruhr.de (preferred)
or
Carsten_Pluntke@ouzonix.bo.open.de
or post per snail mail, cookies, letterbombs, women :-), 68040-cards or
just a postcard to:
Carsten Pluntke
Buerer Str. 20
45899 Gelsenkirchen
Germany
Bank account for shareware payments or out-of-order money donations :-)
Kto. 2686079
Stadtsparkasse Gladbeck
BLZ 424 500 40
PGP-Users may be interested in my PGP public key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.3a.5
mQCNAi6oOe0AAAEEAM/locnCHkNMkfUOqVrgEphn0RzPiq2nu7I25eMrTR9OfsQQ
8RT/Y4xupkA4PvbS+9co9uAVPSreiI3uJhPc51k7q6RWJe4jqr2LSeIHSKB5S0RL
88k8J5ciMWEmIFyx9TW9EDKPnamwKZCHzq43WMGQ5XAbbMxwdizX/qpcziGxAAUR
tDRDYXJzdGVuIFBsdW50a2UgPENhcnN0ZW5fUGx1bnRrZUBvdXpvbml4LmJvLm9w
ZW4uZGU+tDBDYXJzdGVuIFBsdW50a2UgPHNuZWFrZXJAc3VycHJpc2UucmhlaW4t
cnVoci5kZT60K0NhcnN0ZW4gUGx1bnRrZSA8Y2Fyc3RlbkBra2Iuc2V2ZW4uc3Vi
Lm9yZz4=
=RBZG
-----END PGP PUBLIC KEY BLOCK-----
PGP fingerprint = 9B EB 4D E3 1D A8 54 AA
CF 44 22 01 73 39 93 48
HISTORY
1.00 (27.07.95)
First public release